package com.motion.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author www
 * @since 2022-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Article")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("articleId")
    private Long articleId;

    private String title;

    @TableField("releaseTime")
    private LocalDateTime releaseTime;

    @TableField("ifRelease")
    private Integer ifRelease;

    private Integer ifshelves;

    private String content;

    @TableField("uploadId")
    private Long uploadId;

    @TableField("readNum")
    private Integer readNum;

    @TableField("likeNum")
    private Integer likeNum;

    /**
     * 文章类型，1为健康，2为饮食
     */
    private Integer type;


}
